# $OpenBSD: Makefile,v 1.15 2017/04/10 11:46:21 sthen Exp $

COMMENT=	japanese groff

CATEGORIES=	japanese textproc print

PKGNAME=	ja-groff-1.10_0.99
REVISION=	0
DISTNAME=	groff-1.10

PATCHFILES=	jgroff-0.99.diff.gz:0

MASTER_SITES=	${MASTER_SITE_GNU:=groff/}

MASTER_SITES0=	ftp://ftp.ae.keio.ac.jp/pub/GNU/ \
                ftp://ftp.tohoku.ac.jp/pub/GNU/japanese/


PERMIT_PACKAGE_CDROM=	Yes
WANTLIB=		c ${LIBCXX} m

PATCH_DIST_STRIP=	-p1

CONFIGURE_STYLE=	gnu old dest
USE_GROFF =	Yes

#post-configure:
#	@cd ${WRKSRC}/xditview && ${SETENV} ${MAKE_ENV} ${XMKMF}
#
#post-build:
#	@cd ${WRKBUILD}/xditview && ${SETENV} ${MAKE_ENV} \
#	    make ${MAKE_FLAGS} -f ${MAKE_FILE} ${ALL_TARGET}
#
#post-install:
#	@cd ${WRKBUILD}/xditview && ${SETENV} ${MAKE_ENV} \
#	    make ${ALL_FAKE_FLAGS} -f ${MAKE_FILE} install install.man

MAINTAINER=	Marc Espie <espie@openbsd.org>

.include <bsd.port.mk>
